<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title><?php echo $lang['site_name'] ?></title>
<link href="/css/main.css" rel="stylesheet" type="text/css" />
<script language="javascript" src="/js/jquery-1.5.2.min.js"></script>
<script language="javascript">
$(function () {
	$('#wrapper .nav a').click(
		function(){
			$('#wrapper .nav a').removeClass('on');
			$(this).toggleClass('on');
			if(!this.target){
				$('#main')[0].src = this.href;
				return false;
			}
		}
	);
});
</script>
</head>
<body>
<table id="wrapper" cellpadding="0" cellspacing="0" border="0" style="width:100%; height:100%;" align="center">
    <tr>
        <td>
        <div class="nav">
            <a href="/home/welcome" class="on"><?php echo $lang['menu_home'];?></a>
            <a href="/users"><?php echo $lang['menu_user'];?></a>
            <a href="/book"><?php echo $lang['menu_book'];?></a>
			<a href="/log"><?php echo $lang['menu_log'];?></a>
            <a href="/users/logout" target="_top"><?php echo $lang['menu_exit'];?></a>
        </div>
        </td>
    </tr>
    <tr>
        <td style="height:100%;">
       		<iframe id="main" name="main" src="/home/welcome" style="width:100%; height:100%;" frameborder="0"></iframe>
        </td>
    </tr>
</table>
</body>
</html>